package com.motus.pm.vo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import org.apache.struts2.json.annotations.JSON;
import org.springframework.stereotype.Component;

/**
 * PmMeetingInfo entity. @author MyEclipse Persistence Tools
 */
@Component
public class PmMeetingInfo implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer mid;
	private String mname;
	private Timestamp meetingDate;
	private Integer meetingHost;
	private Integer meetingRecoder;
	private String meetingContent;
	private String meetingTask;
	private Integer meetingType;
	private String reserve1;
	private String reserve2;
	private String reserve3;
	private String reserve4;
	private String reserve5;
	private Set pmDeptTasks = new HashSet(0);
	private Set pmMeetingEmps = new HashSet(0);

	// Constructors

	/** default constructor */
	public PmMeetingInfo() {
	}

	/** minimal constructor */
	public PmMeetingInfo(String mname) {
		this.mname = mname;
	}
	public PmMeetingInfo(String mname,Timestamp meetingDate,
			String meetingContent, int meetingType){
		this.mname = mname;
		this.meetingDate = meetingDate;
		this.meetingContent = meetingContent;
		this.meetingType = meetingType;
	}
	/** full constructor */
	public PmMeetingInfo(String mname, Timestamp meetingDate,
			Integer meetingHost, Integer meetingRecoder, String meetingContent,
			String meetingTask, Integer meetingType, String reserve1,
			String reserve2, String reserve3, String reserve4, String reserve5,
			Set pmDeptTasks, Set pmMeetingEmps) {
		this.mname = mname;
		this.meetingDate = meetingDate;
		this.meetingHost = meetingHost;
		this.meetingRecoder = meetingRecoder;
		this.meetingContent = meetingContent;
		this.meetingTask = meetingTask;
		this.meetingType = meetingType;
		this.reserve1 = reserve1;
		this.reserve2 = reserve2;
		this.reserve3 = reserve3;
		this.reserve4 = reserve4;
		this.reserve5 = reserve5;
		this.pmDeptTasks = pmDeptTasks;
		this.pmMeetingEmps = pmMeetingEmps;
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public String getMname() {
		return this.mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public Timestamp getMeetingDate() {
		return this.meetingDate;
	}

	public void setMeetingDate(Timestamp meetingDate) {
		this.meetingDate = meetingDate;
	}

	public Integer getMeetingHost() {
		return this.meetingHost;
	}

	public void setMeetingHost(Integer meetingHost) {
		this.meetingHost = meetingHost;
	}

	public Integer getMeetingRecoder() {
		return this.meetingRecoder;
	}

	public void setMeetingRecoder(Integer meetingRecoder) {
		this.meetingRecoder = meetingRecoder;
	}

	public String getMeetingContent() {
		return this.meetingContent;
	}

	public void setMeetingContent(String meetingContent) {
		this.meetingContent = meetingContent;
	}

	public String getMeetingTask() {
		return this.meetingTask;
	}

	public void setMeetingTask(String meetingTask) {
		this.meetingTask = meetingTask;
	}

	public Integer getMeetingType() {
		return this.meetingType;
	}

	public void setMeetingType(Integer meetingType) {
		this.meetingType = meetingType;
	}

	public String getReserve1() {
		return this.reserve1;
	}

	public void setReserve1(String reserve1) {
		this.reserve1 = reserve1;
	}

	public String getReserve2() {
		return this.reserve2;
	}

	public void setReserve2(String reserve2) {
		this.reserve2 = reserve2;
	}

	public String getReserve3() {
		return this.reserve3;
	}

	public void setReserve3(String reserve3) {
		this.reserve3 = reserve3;
	}

	public String getReserve4() {
		return this.reserve4;
	}

	public void setReserve4(String reserve4) {
		this.reserve4 = reserve4;
	}

	public String getReserve5() {
		return this.reserve5;
	}

	public void setReserve5(String reserve5) {
		this.reserve5 = reserve5;
	}

	@JSON(serialize=false)
	public Set getPmDeptTasks() {
		return this.pmDeptTasks;
	}

	public void setPmDeptTasks(Set pmDeptTasks) {
		this.pmDeptTasks = pmDeptTasks;
	}

	@JSON(serialize=false)
	public Set getPmMeetingEmps() {
		return this.pmMeetingEmps;
	}

	public void setPmMeetingEmps(Set pmMeetingEmps) {
		this.pmMeetingEmps = pmMeetingEmps;
	}

}

